package me.muci.B_threadMethods.DaemonTest;

/**
 * ClassName: ThreadDaemon <br/>
 * Description: <br/>
 * date: 2021/8/9 10:59<br/>
 *
 * @author muci<br />
 * @description
 * @since JDK 1.8
 */
public class ThreadDaemon implements Runnable{
    @Override
    public void run() {
        ThreadRunning.running = false;
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("running daemon .........");
    }
}
